Fix bug #9549 with longlines-show-hard-newlines.
authorEli Zaretskii <eliz@gnu.org>
Tue, 20 Sep 2011 17:13:45 +0000 (20:13 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 20 Sep 2011 17:13:45 +0000 (20:13 +0300)
commit00d451f4f7f9b9fef08a36c9d61b6f803480d1ba
tree064b885b01f3b1dcccb226a9a991d52a6c146249
parent0b9eec1345f047586f897f63f5c861ce3ec62c04
Fix bug #9549 with longlines-show-hard-newlines.

 src/xdisp.c (set_cursor_from_row): If the row ends in a newline from
 a display string, extend search for cursor position to end of row.
 (find_row_edges): If the row ends in a newline from a display
 string, increment its MATRIX_ROW_END_CHARPOS by one.
 Handle the case of a display string with multiple newlines.
src/ChangeLog
src/xdisp.c